﻿using System;

namespace Vosvek.ProjectRogue
{

    [Serializable]
    public class ItemStack
    {
        public readonly Item Item;
        public int Quantity;

        public ItemStack(Item item, int quantity = 1)
        {
            this.Item = item;
            this.Quantity = quantity;
        }

        public bool IsEmpty()
        {
            return Quantity <= 0;
        }
    }

}
